package com.example.springmvcinterview.understandAOP;

import org.springframework.stereotype.Service;

/**
 * @Author : 叶荻风
 * @create : 2024/12/18 15:33
 */

@Service
public class UserService {
    public UserService() {
        System.out.println("创建usrService实例");
    }

    @Show
    public void say(String message) {
        System.out.println("say: " + message);
    }

    @Show
    public void run() {
        System.out.println("run method executed.");
    }
}